package com.sjl.libtreeview.bean;


import com.sjl.libtreeview.R;

/**
 * RootNode
 *
 * @author 林zero
 * @date 2018/1/14
 */

public class RootNodeGrade implements LayoutItem {
    private String title;
    private String score;

    public RootNodeGrade(String title, String score) {
        this.title = title;
        this.score = score;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    @Override
    public int getLayoutId() {
        return R.layout.item_root_grade;
    }

    @Override
    public int getToggleId() {
        return R.id.ivNode;
    }

    @Override
    public int getCheckedId() {
        return 0;
    }

    @Override
    public int getClickId() {
        return 0;
    }
}
